package com.api.gbhg.liuwenbo.test;

import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.util.Date;

public class main {
    /*public static void main(String[] args) {
        SimpleDateFormat df = new SimpleDateFormat("yyyy");
        Date date = new Date();
        String format = df.format(date.getTime());
        System.out.println(date.getDay());
        System.out.println(dayNum(4));
        LocalDate now = LocalDate.now();
        System.out.println(now.getDayOfYear());
        double a = 29321912;
        System.out.println(a);
    }

    public static int dayNum(int year){
        if(year==0){
            return LocalDate.now().lengthOfYear();
        }else{
            return LocalDate.of(year,1,1).lengthOfYear();
        }
    }*/
    private static DecimalFormat df = new DecimalFormat("#0.00");
    public static void main(String[] args) {
        double a =  13889164.69;
        System.out.println(a);
        double b = 0.01;
        System.out.println(b>0);
        System.out.println(df.format(100-((double) 0 / (double)0 * 100)));
    }
}
